using System;
using System.Collections.Generic;
using System.Text;

namespace MCromwell.StaffIntranet.Core
{
    public class LoginSession
    {
        public LoginSession()
        {
        }

        public LoginSession(Guid Id)
        {
            this.id = Id;
        }

        private Guid id;
        private DateTime startedAt;
        private DateTime lastActivity;
        private Administrator administrator;

        public virtual Guid Id
        {
            get { return id; }
            internal set { id = value; }
        }

        public virtual DateTime StartedAt
        {
            get { return startedAt; }
            set { startedAt = value; }
        }

        public virtual DateTime LastActivity
        {
            get { return lastActivity; }
            set { lastActivity = value; }
        }

        public virtual Administrator Administrator
        {
            get { return administrator; }
            set { administrator = value; }
        }

    }
}
